<template>
    <div class="page">
      <cx_navbar title="home"></cx_navbar>
      <div class="list">
        <div class="cell" v-for='n in 11'>
          <img class="app_cell_avator" src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2537627520,3119182571&fm=27&gp=0.jpg">
          <div class="title">sujeking</div>
          <div class="subtitle">sujeking</div>
        </div>
      </div>
    </div>
</template>

<script>
  import cx_navbar from '@/components/cx_navbar'
	import vm from '@/viewmodel/home_viewmodel';
  export default {
    components:{
      cx_navbar
    },
  name: 'home',
  data() {
    return {
    	list:[],
    }
  },
  methods:{
    load_add_post() {
      this.$router.push({name:'add_post'});
    }
  }
}
</script>

<style lang="css" scoped>
.page {
  padding-bottom: 20px;
}
.app_navbar {
  height: 64px;
  background-color: #fff;
  color: #444444;
  font-size: 19px;
  text-align: center;
  line-height: 64px;
  border-bottom: 1px solid #f1f1f1;
}

.app_cell_avator {
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
}
.list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: 20px;
  margin-right: 20px;
}

.cell {
  width: calc(50% - 5px);
  --kwidth: width;
  padding: 15px;
  height: var(--kwidth);
  background-color: #fff;
  font-size: 16px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
  border-left: 1px solid #f1f1f1;
  box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}
.subtitle {
  font-size: 14px;
  color: rgba(73, 73, 73, 0.5);
}

</style>